package com.example.springboot_system.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.ManyToMany;
import javax.persistence.Table;
import java.util.Date;
import java.util.List;

/**
 * @author XGS
 * @date 2020/3/28
 * @desciption 角色表
 */

@Data
@TableName("his_role")
public class Role {

    @Column(name = "id")
    private String id;

    @Column(name = "create_datetime")
    private Date createDatetime;

    @Column(name = "role")
    private String role;

    @Column(name = "role_value")
    private Integer roleValue;

    @Column(name = "description")
    private String description;

}
